package com.tanhua.dubbo.api;

import com.tanhua.model.mongo.TestOption;
import com.tanhua.model.vo.PageResult;

import java.util.List;
import java.util.Map;


public interface TestOptionApi {
    PageResult findByPage(Integer page, Integer pageSize);

    Boolean deleteById(String id);

    TestOption findById(String id);

    void save(TestOption options);

    void update(TestOption options,String optionId);

    void deleteByQuestionId(String id);

    Map<String, List<String>> findByQuestionIds(List<String> queIds);
}